<%@ page contentType="text/html;charset=UTF-8"  %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.ufida.ebscg.business.bulletinmanage.BulletinallQueryServiceImpl"%>
<%@page import="nc.vo.ebscg.ggbulletmenu.BulletinMenuVO"%>
<%@page import="org.apache.commons.logging.LogFactory"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@page import="com.ufida.ebscg.comm.Constant" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>招商银行供应商门户-采购创造价值</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<link href="../collaborative/css/collcss.css" rel="stylesheet" type="text/css" />
<link href="./css/announcss_show.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="../javascript/ajaxdeal.js"></script>
</head>

<body onkeydown = "login()">
<!--页面头部开始-->
<div id="index_top">
<ul>
<!-- <li class="vertical"><a href="../index.jsp" >返回首页</a></li>-->
<li><a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('#');return(false);" style="behavior: url(#default#homepage)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设为首页</a></li>
</ul>
</div>
<!--页面头部结束-->
<!--页面主体内容开始-->
<div id="index_content">

<%
		List fileMessage = (List)request.getAttribute("filemessage");
		//session.removeAttribute("EBSCG_SESSION_ID_");
		session.invalidate();
 %>
   
<div id="main">
<!--右侧内容开始-->
<div id="right">
<div class="show">

<h1>${main.title }</h1>
<p>${mes.bulletincontent}</p>
<% if(fileMessage != null && fileMessage.size() > 0){ %> 
<center>

<p>
&nbsp;
</p>
<table width="600px" cellpadding="0" cellspacing="0" style="border-width:1px;border-color:#7f98ae;border-style:solid">

<tr>
	<td style="font-weight:bold;font-size:10pt;border-bottom-width:1px;border-bottom-color:#7f98ae;border-bottom-style:solid;" colspan=2>
		 附件信息
	</td>
</tr>
<tr >
	<td  width="400px"  style="font-weight:bold;font-size:10pt">
	       附件名称
	</td>
	
	<td width="200px" style="font-weight:bold;font-size:10pt">
	
		下载
	</td>
	
</tr>
<%
for(int index=0;index<fileMessage.size();index++){

	String value = (String)fileMessage.get(index);
    if(value != null){
    
    try{
    
    	String str[] = value.split(":");
    	String filename = str[0];
    	String pk_da_att = str[1];
    	
%>

	<tr style="border-bottom-width:10px;border-color:#7f98ae;border-style:solid" >
			<td>
				<%=filename%>
			</td>
			
			<td>
				<img src="../images/botton_downloading.jpg" width="59" height="21" border="0" style="cursor:hand" 
	            onclick="downfilefun('<%=pk_da_att%>')"/>
			</td>
	</tr>
<%
    	
    }catch(Exception e){
    
    }
    
%>
	
	
<%}

}%>
</center>
<%}%>

</table>
</div>
</div>

<script language="javascript">
javascript:window.history.forward(1);
//下载文件javascript:window.history.forward(2);
function downfilefun(attpk,filename)
{
	window.location.href = "bulletinmanage.do?type=4&mod=lyan&pk_da_att="+attpk;
}

</script>

